/*
 * @Description: 提现
 * @Author: iamsmiling
 * @Date: 2021-06-10 22:31:29
 * @LastEditTime: 2021-06-10 22:58:50
 */

import 'package:get/get.dart';

enum ReceiveAccountType { alipay, bankCard }

extension ReceiveCountTypeKit on ReceiveAccountType {
  String get name =>
      {
        ReceiveAccountType.alipay: "支付宝",
        ReceiveAccountType.bankCard: "银行卡"
      }[this] ??
      "";
}

class WithdrawalController extends GetxController {
  ReceiveAccountType type = ReceiveAccountType.alipay;
}
